const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.userName,
  nickName: state => state.user.nickName,

  roles: state => state.user.roles,
  roleKeys: state => state.user.roleKeys,
  authorities: state => state.user.authorities,
  menus: state => state.menu.menus,
  language: state => state.app.language,
}
export default getters
